<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>查看试题</title>
<%@include file="../core/head.jsp"%>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="${ctx }/css/core.css" type="text/css"></link>
<link rel="stylesheet" href="${ctx }/css/exam.css" type="text/css"></link>
<link rel="stylesheet" href="${ctx }/css/buttons.css" type="text/css"></link>

<style type="text/css">
 

#upload .option {
	padding-left: 10px;
}
 

#upload .no {
	vertical-align: top;
	margin: 0px;
	padding: 0px;
}

#upload .help {
	display: block;
	background: #f2f2f2;
}

#upload .analysis {
	width: 100%;
	height: 80px;
	padding: 2px;
	border: 1px solid #f2f2f2;
}
</style>
 
</head>

<body style="background: #f2f2f2;">
<%@include file="top.jsp"%>
 <div id="upload" class="width center shadow radius paper" >
		<div id="context" class="context" >			
			<form action="${ctx}/exam/updateQuestion.action"   id="form${tem.index}" method="post" >
			<input type="hidden"  name="question.no" value="${question.no }"/>
				<input type="hidden"  name="question.ptype" value="${question.ptype }"/>
				<input type="hidden"  name="question.id" value="${question.id }"/>
				<div class="question" id="${tem.index+1}" style="border: 0px;">
				<label>[ 试题编号：${question.no }&nbsp;&nbsp;&nbsp;&nbsp;章节：<z:dic code="${question.chapter }"/> ]</label>
					<ul>
						<li class="english">
						<dl>
							<dt class="title">
								<span class="no">${tem.index+1}.</span> 
								<span><c:out value="${question.enSummary }"/></span>
							</dt> 
							<c:forEach var="opt" varStatus="otem" items="${question.options }">
								<dd class="option">	 							 
										<span>${opt.no}.&nbsp;</span>
										<span><c:out value='${opt.enSummary }'/></span>
								</dd>
							</c:forEach>
						</dl>
						</li>
						<li class="chinese">
						<dl>
							<dt class="title">
								<span class="no">${tem.index+1}.</span>
								<span><c:out value="${question.cnSummary }"/></span>
							</dt> 
							<c:forEach var="opt" varStatus="otem" items="${question.options }">
								<dd class="option">									 
									<span>${opt.no }.&nbsp;</span>
									<span><c:out value='${opt.cnSummary }'/></span>								 
								</dd>
							</c:forEach>
						</dl>
						</li>
					</ul>
					<div align="right">
						<div class="help radius" align="left">
							<div class="left">
								<label>答案：<input type="text" id="answer${tem.index+1}" name="question.answer" value="${question.answer }" style="width: 80px;text-align: center;" readonly="readonly"/></label> 
							</div>
							<div  class="right">
							</div>
							<div class="clear">
								<div  style="background: white;padding:5px 5px" > ${question.analysis } </div>
							</div>
						</div>
						<input class="button gray small" type="button" onclick="history.back()" value="返回" />
						 
					</div>
				</div>
				</form>
	</div>
	
	
</div>	
	
	
<%@include file="../core/bottom.jsp"%>
</body>
</html>
